def process_student_scores(student_data):
    total_score = 0
    highest_score = 0
    highest_student = ""
    failed_students = []

    for data in student_data:
        name, score_str = data.split(",")
        score = int(score_str)
        total_score += score

        if score > highest_score:
            highest_score = score
            highest_student = name

        if score < 60:
            failed_students.append(name)

    average_score = total_score / len(student_data)

    return {
        "平均分": average_score,
        "最高分": f"{highest_student}{highest_score}",
        "不及格学生": failed_students
    }



input_data = ["Tom,88", "Jerry,59", "Anna,97", "Lucy,54", "Bob,70"]
result = process_student_scores(input_data)
print(f"平均分:{result['平均分']:.1f}")
print(f"最高分:{result['最高分']}")
print(f"不及格学生:{result['不及格学生']}")
